{extend name="/base" /}
{block name="body"}
<div class="uk-container uk-container-center margin-t-15">
	<div class="top">
		<!--<i class="uk-icon-navicon"></i> --><a href="{:url('/')}">首页</a> > <a href="{:url($module.'/'.$controller_sign.'/tolist','cid='.$one_category['id'])}">文化</a> > 正文
	</div>
	<!--左中右结构-->
	<div class="uk-grid margin-t-20">
		<div class="uk-width-1-10">
			　
			<div class="sidebar1 share bdsharebuttonbox">
				<div class="son top">
					<div class="icon">
					</div>
					<div class="text tt">
						分享到
					</div>
				</div>
				<div class="son weibo">
					<div class="icon">
					</div>
					<div class="text">
						<a class="bds_tsina" data-cmd="tsina" title="分享到新浪微博">微博</a>
					</div>
				</div>
				<div class="son weixin">
					<div class="icon">
					</div>
					<div class="text">
						<a class="bds_weixin" data-cmd="weixin" title="分享到微信">微信</a>
					</div>
				</div>
				<div class="son qzone">
					<div class="icon">
					</div>
					<div class="text">
						<a class="bds_qzone" data-cmd="qzone" title="分享到QQ空间">空间</a>
					</div>
				</div>
			</div>
		</div>
		<div class="uk-width-6-10">
			<div class="main">
				<article>
				<h1>{$one.title}</h1>
				<div class="article-info">
					<span class="uk-badge">{$one_category.name}</span>
					<span>{$one.author}</span>
					<span>{$one.createtime2}</span>
				</div>
				<div class="content">
{$one.content}
				</div>
				<div class="read-like lucn-justify">
					<div>
						<!--<span>编辑：Lucn</span>-->
						<span class="read"> 阅读量：</span><span class="read-amount">
{$one.views}
						</span>
					</div>
					<a href="#" class="uk-button uk-button-success"><i class="uk-icon-star-o"></i> 收藏</a>
				</div>
				</article>
				<!--评论-->
				<section class="comment">
				<!--PC版-->
				<div id="SOHUCS" sid="hhc_{$one.id}">
				</div>
				<script charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/changyan.js"></script>
				<script type="text/javascript">
window.changyan.api.config({
appid: 'cyt4ehraF',
conf: 'prod_7aa52a78f41edb086d73bf0d647e4960'
});
				</script>
				</section>
				<section>
				<div class="top">
					<i class="uk-icon-navicon"></i> 推荐阅读
				</div>
				<ul class="list-a">
{volist name="olist" id="v"}
{php}
$arr_img = explode(',',$v['images']);
$count_img = count($arr_img);
{/php}
{if condition = "$count_img egt 4"}
					<li class="">
					<a href="{:url($module.'/'.$controller_sign.'/view','id='.$v['id'])}">
					<h4>{$v.title}</h4>
					</a>
					<div class="img uk-grid uk-grid-width-1-4 uk-grid-small">
{foreach $arr_img as $son} 
						<a href="{:url($module.'/'.$controller_sign.'/view','id='.$v['id'])}">
						<div class="zimg">
							<img src="/static/timthumb/timthumb.php?src={$son}&w=204&h=146">
						</div>
						</a>
{/foreach}
					</div>
					<div class="bottom-info lucn-justify">
						<span><i class="uk-icon uk-icon-user"></i> {$v.author} · 昨天 23:16</span>
						<span><i class="uk-icon-commenting"></i> 32</span>
					</div>
					</li>
{else /}
					<li>
					<div class="uk-grid uk-grid-small">
						<a class="uk-width-1-4 img" href="{:url($module.'/'.$controller_sign.'/view','id='.$v['id'])}">
						<div class="zimg">
							<img src="/static/timthumb/timthumb.php?src={$v.image}&w=204&h=146">
						</div>
						</a>
						<div class="uk-width-3-4">
							<a href="{:url($module.'/'.$controller_sign.'/view','id='.$v['id'])}">
							<h4 style="height:2.7em;">{$v.title}</h4>
							</a>
							<div class="bottom-info lucn-justify">
								<span><i class="uk-icon uk-icon-user"></i> {$v.author} · 昨天 23:16</span>
								<span><i class="uk-icon-commenting"></i> 32</span>
							</div>
						</div>
					</div>
					</li>
{/if}
{/volist}
				</ul>
				</section>
			</div>
		</div>
		<div class="uk-width-3-10">
			<div class="sidebar">
				<div class="con">
					<div class="row1">
						<a href="{$ad1.link}">
						<img src="{$ad1.image}">
						</a>
					</div>
					<div class="row2 panel-1 margin-t-30">
						<h3>本类热点</h3>
						<ul>
{volist name="hlist" id="v"}
							<li class="clearfix">
							<a href="{:url($module.'/'.$controller_sign.'/view','id='.$v['id'])}"><img class="uk-float-left" src="/static/timthumb/timthumb.php?src={$v.image}&w=50&h=50"></a>
							<a href="{:url($module.'/'.$controller_sign.'/view','id='.$v['id'])}">
							<h4>{$v.title}</h4>
							</a>
							</li>
{/volist}
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script>
$(function(){
    $(".sidebar").css('width',$(".sidebar").outerWidth(true));
	$(".sidebar1").css('width',$(".sidebar1").outerWidth(true));
	$(".sidebar").smartFloat(15);
	$(".sidebar1").smartFloat(35);
});
//分享
window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"{$one.description}","bdMini":"2","bdPic":"{php}echo think\Request::instance()->domain(){/php}{$one.image}","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
{/block}